CC = gcc
SMARTSES = SMARTStateEquationSolveLib.c SMARTSESUtil.c SMARTSESSolve.c SMARTSESIO.c
PROGRAM = SMARTSESTest
#ToDo: improve for simplicity later
SPARSE = Sparse/spAllocate.c Sparse/spBuild.c Sparse/spFactor.c 	\
	Sparse/spFortran.c Sparse/spOutput.c Sparse/spSolve.c Sparse/spUtils.c

all:$(PROGRAM)
$(PROGRAM):$(SMARTSES) $(SPARSE)
	$(CC) -o $(PROGRAM) $(SMARTSES) $(SPARSE)
clean:
	rm -f $(PROGRAM).o $(PROGRAM) $(PROGRAM).exe
